package com.taoyusen.jpf.dao;

import java.util.List;
import java.util.Map;

import com.taoyusen.common.base.IBaseDAO;
import com.taoyusen.jpf.dao.pojo.TSysUserinfo;

public interface IUserInfoDao extends IBaseDAO<TSysUserinfo,String>
{

	/**
	 * 根据条件查询用户信息
	 * @param userInfo
	 * @return
	 * @throws Exception
	 */
	public List<TSysUserinfo> getUserInfoByMap(Map<String, Object> userMap)throws Exception;
	
	/**
	 * 根据ID查询用户信息
	 * @param userId
	 * @return
	 * @throws Exception
	 */
	public TSysUserinfo getUserInfoById(String userId)throws Exception;
	
	/**
	 * 根据用户名称查询用户想信息
	 * @param userName
	 * @return
	 * @throws Exception
	 */
	public List<TSysUserinfo> getUserInfoByUserName(String userName)throws Exception;
}
